let the numbers are x and y
The sum of the numbers is 12
So, x + y = 12
the difference between the numbers is 4
So, x - y = 4
The system of equation will be:

Add the equations to cross y then solve for x

substitute with x into equation 1 to find y

so, the answer will be the numbers are 8 and 4