Retirement tax questions

Many thanks!

 

Was the contribution $800 based on solo 401(k) or SEP IRA?

 

Do both methods have the same calculation for the contributable amount by 20% of net income after deductible portion of SE tax?