2^(2x)-5(2^x)=-4

Need help with the whole question, thanks!

if you let u=2^x, you have

u^2-5u+4 = 0
u = 1 or 4

2^x = 1 ==> x=0
2^x = 4 ==> x=2