cosθ+sinθ=51 ⇒1+tanθ=51secθ (dividing by cosθ ) ⇒25+50tanθ+25tan2θ=sec2θ
or 12tan2θ+25tanθ+12=0
or 12tan2θ+16tanθ+9tanθ+12=0
or (4tanθ+3)(3tanθ+4)=0 ⇒tanθ=−43
or tanθ=−34 tanθ=−43 is rejected as then cosθ=−54 and sinθ=53
for which cosθ+sinθ=−51
Hence, tanθ=−34