3x - y = 17 . . . (i)
2x + 5y = -1 . . . (ii)
Multiplying equation (i) by 5 and solving it with equation (ii), we get
2x+5y=−115x−5y=35––––––––––––––––17x =34
(Adding)
⇒ x=3417=2
Putting the value of x in (i), we have
3(2)−y=7
⇒ 6−y=7⇒−y=7−6
⇒ y=−1
∴ x=2, y=−1