Let's use the variables x and y to represent the numbers.
If the sum is equal to 36, we have:
If one number is 3 times as large as the other, we have:
Using this value of x in the first equation, we have:
Therefore the larger number is 27 and the smaller number is 9.