Solution:
Key idea: For −1≤y≤1, sin−1y+cos−1y=2π.
Also sin(cos−1y)=1−y2, because cos−1y lies in [0,π], where sine is not negative.
Step 1 — Note when the terms are defined.
Both x5 and x12 must lie between −1 and 1, so ∣x∣≥12.
Step 2 — Turn the sum into a single inverse cosine.
We move sin−1x5 to the right and use the identity from the key idea.
sin−1x12=2π−sin−1x5
sin−1x12=cos−1x5
Step 3 — Take the sine of both sides.
The left side gives x12, and the right side gives the positive root from the key idea.
x12=1−x225
The right side is not negative, so x12≥0, which means x>0.
Step 4 — Square and solve.
Squaring both sides removes the root.
x2144=1−x225
x2169=1
x2=169
x=±13
Step 5 — Keep the value that fits.
Step 3 needs x>0, so we reject −13; for that value both angles are negative and their sum is −2π.
For x=13, the numbers 135 and 1312 satisfy (135)2+(1312)2=1.
So the angle whose sine is 1312 has cosine 135, and the two angles add up to 2π.
Therefore, x=13.