Could you solve it from opposite?
From
and
(both of which identities I assume as known and will not prove here), we obtain
and by adding (1)+(3),
Substitue
Using the formula
See for first line we know
So the expression reduces to
Now I hope you can reduce it to second line.
For the second line use the formula I gave in starting of answer.
Given that