X + y = 18,5x + 8y = 12?

X + y = 18,5x + 8y = 12?

X + y = 18 1
Formula 5x + 8y = 12 2
Formula 2-1 * 5 is as follows:
5x+8y-5x-5y=12-90
3y=-78
y=-26
If we bring in Formula 1, we can get the following result:
x=18-y=18+26=44
The solution is: x = 44, y = - 26