Answer
$x=86,y=74$
Work Step by Step
As per the statement: $x-y=12$ and $\dfrac{x+y}{2}=80$
Plug $x=12+y$ in the second equation, then we get
$\dfrac{12+y+y}{2}=80 \implies 2y=148$
or, $y=74$
Now, $x-74=12 \implies x=86$
Thus, $x=86,y=74$