3^log(9)(lg2-1)^2 + 5^log(25)(lg0.5-2)^2
=3^[1/2log3 (lg2-1)^2]+5^[1/2log5 (lg0.5-2)^2]
=3^log3 (1-lg2)+5^log5 (2-lg0.5)
=1-lg2+2-lg0.5
=3-(lg2+lg0.5)
=3-lg1
=3
3^log(9)(lg2-1)^2 + 5^log(25)(lg0.5-2)^2
=3^[1/2log3 (lg2-1)^2]+5^[1/2log5 (lg0.5-2)^2]
=3^log3 (1-lg2)+5^log5 (2-lg0.5)
=1-lg2+2-lg0.5
=3-(lg2+lg0.5)
=3-lg1
=3