How to solve this problem step by step

Answer: 4
Step-by-step explanation: if 2 times y(2) is 4 what plus 4 equals 12...8 right? but you have to take 2 and multiply it by 4 in order to get 8. So the answer is 4. Hope this helps! :)
Answer:
4
Step-by-step explanation:
Given
when y = 2 then
2(x+y) = 12
2( x + 2) = 12
(x +2) = 12/2
x + 2 = 6
x = 6 - 2
x = 4
hope it helps :)