Since there are two different variables, setting up a system of equations and using the elimination method will eliminate one variable and allow you to solve.
First equation: 'the sum of two numbers is 36'
x + y = 36
Second equation: 'twice the first number minus the second is 6'