Question 22Suppose x and y are two real numbers such that $$x+y=6\quad\text{and}\quad 2 x^2+3 xy+y^2=12.$$ Find the value of $x^2+y^2$.