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)
Maybe easier to change those two equations:
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.