PC said:
x + 2y = 7 ... [1]
2x + 5y = 10 ... [2]
That's a bit more challenging!
Let me try to do this step by step;
first of all, treat one equation at a time, so for equation [1]:
x + 2y = 7 //rearranging the equation making a variable as the "centre" of the equation, in this case, we will use x, as x is by itself whereas y is tagged with 2
hence equation [1] now will look like;
x = 7 - 2y
now look at equation [2]
it is in the form of 2x + 5y = 10
we all know from equation [1] that
x = 7 - 2y
we will put
x = 7 - 2y into equation [2]
so now it will look like this;
2(7 - 2y) + 5y = 10
now that you've got only y in equation [2];
it works out y to be;
14 - 4y + 5y = 10
y = -4
now we know
y = -4, we can put that back into either equation [1] or equation [2] to work out x
put
y = -4 back into equation [1];
x + 2(-4) = 7
x + (-8) = 7
x = 15
so x = 15, y = -4