Ok, so I am looking at the min and max for the angle x:

-12cos(x) + (2)12sin(x) = 5

and

-12cos(x) + (2)12sin(x) = -5

which I reduced to:

(12)(2sin(x) - cos(x)) = ±5

2sin(x) - cos(x) = ±5/12

I'm not sure how to solve for the angle (x) from here.