We have
x1+x2+x3+x4+x5=20 ...(i)
and x1+x2=15 ...(ii)
From (i) and (ii), we get two equations
x3+x4+x5=5 ...(iii)
x1+x2=15 ...(iv)
and given that x1≥0,x2≥0,x3≥0,x4≥0 and x5≥0
Then the number of solutions of equation (iii)
= 5+3−1C3−1
= 7C2
= 7.61.2=21
and the number of solutions of equation (iv)
= 15+2−1C2−1
= 16C1=16
Hence the total number of solutions of the given system of equations = 21×16=336