## Re-arranging an equation

Hi guys,

How would I rearrange the following equation:

Code:
X = sin(theata1)sin(hteata2)cos(theata3)sin(theata4)
X is known. I want the right side of the equation to look like the following format:

A.theata1 + B.theata2 + C.theata3 + D.theata4

Where A, B, C, D are coefficients.

Is this even possible?

Thanks