Answer:
x = 2
y = 3
Step-by-step explanation:
x = 3y - 4
5x + 2y = 31 in the second equation replace x with 3y - 4
5 (3y - 4 ) + 2y = 31 multiply 5 with inside the parenthesis
15y - 20 + 2y = 31 add like terms
17y = 51
y = 3
Now, since we found the value of y we can use it to calculate x
x = 3y - 4
x = 3×3 - 4
x = 2