If show that
Given tanx = a/b
LHS
Dividing by b cosx,
Substituting value of tanx,
= RHS
Hence proved.