Answer:
To solve this problem, let x represent the smaller number, and 3x represent the larger number. The equation can then be written as 3x - 12 = x + 6. Subtracting x from both sides of the equation gives 2x - 12 = 6, and adding 12 to both sides gives 2x = 18. Dividing both sides by 2 gives x = 9. Therefore, the smaller number is 9 and the larger number is 27.