On dividing both the numerator and denominator by cosθ we get,
(5sinθ−4cosθ)(5sinθ+4cosθ)
=(5sinθ−4cosθ)cosθ(5sinθ+4cosθ)cosθ
=5tanθ−45tanθ+4
=4−44+4=0 [ Given: 5tanθ=4 ]
∴(5sinθ−4cosθ)(5sinθ+4cosθ)=0