Mathematical Economics ALgebra HELP

Hey, I have never posted one of these things so I am sorry if I am a bit unconventional on that mark but I do Mathematical Economics and we have this question that one of the most insaine lecturers decided to give to us but he refuses to help us find the answer and gives us harder ones each week. I am confused as hell and if any of you are clever people out there I would love some help please... Thankkk youuu ! x

The question.:

[a , x P +a2 x2 P] 1/P

shows that

c* (w , y) = y [ a, (w/a) P + a2 (w2 / a2) P ] 1 / P

Thank you so much again for taking the time to look =]] xxxx (Happy)