Explanation:
Let's start by setting up equations based on the information given in the problem:
Let's say John has x dollars, and Peter has y dollars.
We know that John has $28 more than Peter, so we can write:
x = y + 28
We also know that 1/3 of John's money is equal to 4/5 of Peter's money. In other words:
(1/3)x = (4/5)y
We can simplify this equation by multiplying both sides by 15, which gives:
5x = 12y
Now we have two equations:
x = y + 28
5x = 12y
We can use substitution to solve for x (John's money). We can rearrange the first equation to solve for y:
y = x - 28
Substituting this expression for y into the second equation, we get:
5x = 12(x - 28)
Simplifying this equation, we get:
5x = 12x - 336
7x = 336
x = 48
Therefore, John has $48.