start by multiplying the first term by $\dfrac{\sin{A}}{\sin{A}}$ and the second term by $\dfrac{\cos{A}}{\cos{A}}$