Answer:

Explanation:
We want to find a formula for s in terms of a, b, and cos(x).
Let the point where s intersects AB be D.
Notice that s bisects ∠C. Then by the Angle Bisector Theorem:

We can find BD using the Law of Cosines:

Likewise:

From the first equation, cross-multiply:

And square both sides:

Substitute:

Distribute:

Simplify:

Divide both sides by s (s ≠ 0):

Isolate s:

Factor:

Therefore:

Factor:

Simplify. Therefore:
