Hi, can anyone please help? I 'm not sure what I'm supposed to do...

the directions are: Use an inverse trigonometric function to write theta as a function ofx.

Below I've drawn out 2 of the problems... if you could do just one,I would really appreciate it so I could finish the others.... thank you!!!

just in case the drawing is not clear,

the first problems reads x+2 is opposite of theta, 5 is the hypotenuse.

the second problem reads x is opposite of theta, 4 is adjacent.

thanks again!