Answer: 7 and 23
Step-by-step explanation:
Let the first number be x and the second number be y.
From the first statement , we have
x + y = 30 --------------- equation 1
Taking x as the larger number , from the second statement , we have
x = 3y + 2 --------------- equation 2
substitute equation 2 into equation 1 , we have
3y + 2 + y = 30
4y + 2 = 30
4y = 28
y = 7
substitute y = 7 into equation 2 , we have
x = 3(7) + 2
x = 21 + 2
x = 23
therefore : x = 23 and y = 7