3x+5y=−7 -------------(1)
x+4y=−14-------------(2)
D=∣∣∣3514∣∣∣
=(3)×(4)−1×(5)
=12−5
=7
Dx=∣∣∣−75−144∣∣∣
=(−7)×(4)−(−14)×(5)
=−28+70
=42
Now,
Dy=∣∣∣3−71−14∣∣∣
=(3)×(−14)−(1)×(−7)
=−42+7
=−35
Again,
x=(Dx)D and y=(Dy)D
So, x=427=6
and
y=(−35)7=−5
Hence,
x=6 and y=−5