Let the two resistances be R1 and R2. Therefore,
R1 + R2 = 80 Ω
or, R1 = 80 −R2-R2 .....(i)
and
1/R1+1/R2=1/20
⇒R1R2=20(R1+R2)
As, R1=80−R2
⇒(80−R2)R2=20(80 −R2+R2)
80R2−R22=1600
R22−80R2+1600=0
(R2−40)(R2−40)=0
⇒R2=40 Ω
From (i), we get R1=80−40=40 Ω
R1=40 Ω and R2=40 Ω