Two resistances R1 and R2 give a combined resistance of 4.5 Ω when in series and 1 Ω when in parallel. The value of resistances are
1.5 Ω, 3 Ω
For series combination, Req= R1 + R2
4.5 = R1 + R2
For parallel combination, Req=R1R2R1+R2
1 = R1R24.5
R1= 4.5R2
Substituting and solving we get,
R1= 1.5 Ω, R2= 3 Ω