I am a two-digit number. When you add the two digits, you get 12. When you subtract the two digits, you get 6. What number am I?

x + y = 12

x-y = 6

add these equations together to get

2x = 18 so x must be 9

Can you find y which represents the other digit?