Question 1186479
<pre>
                    Notes         Transfer John to David (45 notes)

John ($10)           j             j-45

David ($5)           d             d+45

                   j=(2/3)d        j-45=(1/6)(d+45)
</pre>
Maybe easier to change those two equations:


{{{system(3j=2d,6(j-45)=d+45)}}}


Simplify and solve the system and find how many notes each of John and David started with.
Compute the money for each.  At the finish, John had $450 less; and David had $450 more.


Not the only method.