Step 1 — find the third side.
sinθ=hypotenuseopposite=ba
Take opposite=a and hypotenuse=b. By Pythagoras theorem:
adjacent=b2−a2
This is a real positive length because 0<a<b.
Step 2 — write the two ratios asked for.
secθ=adjacenthypotenuse=b2−a2b
tanθ=adjacentopposite=b2−a2a
Step 3 — add them.
The denominators are the same, so the numerators simply add:
secθ+tanθ=b2−a2b+b2−a2a=b2−a2a+b
A tidier form. Since b2−a2=(b−a)(b+a),
secθ+tanθ=(b−a)(b+a)a+b=b−ab+a
Check with numbers. Take a=3, b=5, so sinθ=53 and the adjacent side is 4. Then
secθ+tanθ=45+43=2
and the formula gives 5−35+3=4=2. ✓