Thx, I got it now, aced my test also :D

Pattern I went with made it so easy for me,

I can just take x=7cot(39)

divide the 7 out right away so that x over something = cot(theta)

x/7 = cot39

Then just set trig function what side it represents, in this case adj/op

x/7 = a/o

and it matches up every time x=a and 7=o adjusted to theta