Steps:
(Let x = greater number and y = lesser number)
So this question is asking us for a system of equations. Using the info they provide, we can form these two equations:
![x=y+7\ \textsf{(](https://img.qammunity.org/2019/formulas/mathematics/middle-school/uxy177oh1y0k3w6ht4ttncq9vnkrerxv9i.png)
So for this, we will be using the substitution method. Since we know that x = y + 7, substitute x with (y + 7) in the second equation as such:
![3(y+7)=4y+5](https://img.qammunity.org/2019/formulas/mathematics/middle-school/xk2t1d5zptudc0ewgc8jq8a31wzvvd8yvo.png)
From here we can solve for y. Firstly, distribute 3 so that it multiplies with y and 7:
![3y+21=4y+5](https://img.qammunity.org/2019/formulas/mathematics/middle-school/16oiesknvb4y2xln9pefzgkdvn9psbf4ac.png)
Next, subtract 3y on both sides of the equation:
![21=y+5](https://img.qammunity.org/2019/formulas/mathematics/middle-school/vvxhs0m4lpon1uivvkk5yi32yfb24rvmac.png)
Lastly, subtract 5 on both sides of the equation:
![16=y](https://img.qammunity.org/2019/formulas/mathematics/middle-school/g2bl6n13iy87x1p9h5yc3jvlcuwtubtrm6.png)
Now that we know the value of y, we can substitute it into either equation to solve for x:
![x=16+7\\x=23\\\\3x=4(16)+5\\3x=64+5\\3x=69\\x=23](https://img.qammunity.org/2019/formulas/mathematics/middle-school/c0zid2zxa70au1zellz8poqsilbvwwqf5l.png)
Answer:
In short, 16 is the lesser number and 23 is the greater number.