7x+6y=12
-2x+y=21
multiply 1st equation by 1 and the second by 6
7x+6y=12
-12x+6y=126
so add -sign
then it becomes
19x+o= -114
then the value of x is -6
substitute the value of x in the second equ
-2*-6+y=21
12+y=21
y=21-12
y=9
then verify your answer by substituting the value of x and y
-2*-6+9=21
12+9=21
21=21
therefore your values of x and y are correct