Let’s denote the two numbers as 5x and 3x where x is a common multiplier. Since the numbers are in the ratio of 5:3, we can express them like this:
Number 1: 5x
Number 2: 3x
According to the problem, the difference between these two numbers is 18. Therefore, we can set up the following equation:
5x – 3x = 18
Simplifying this gives:
2x = 18
Now, we can solve for x:
x = 18 / 2 = 9
Now that we have the value of x, we can find the two numbers:
Number 1: 5x = 5 * 9 = 45
Number 2: 3x = 3 * 9 = 27
So, the two numbers are 45 and 27.