Let I makes an angle a with the given parallel lines and intercept AB is of 3 units.
Now, distance between parallel lines =12+22∣5−2∣=53 ∴sinα=51,cosα=52
and tanα=21 ⇒ Equation of straight line passing through (2,3) and
making an angle α with y+2x=5 is x−2y−3=tan(θ+α)⇒x−2y−3=1−tanθtanαtanθ+tanα
and x−2y−3=1+tanθtanαtanθ−tanα ⇒x−2y−3=−43 and x−2y−3=01 ⇒3x+4y=18 and x=2