2x-y=4 and [x+5y=24 is same as 2x+10y=48]
Now
2x - y = 4.....equation 1
2x + 10y =48....equation 2
Now subtract equation 2 by 1
-11y = -44
So, y = 4
Put y =4 on 2x -y =4, 2x-4=4, 2x=8, x=4
Hence x=4 and y=4
Also check the equations using x and y values
2x-y=2.4-4=4 correct
x+5y=4+5.4=24 correct