The money Keith and Ranz originally had is "k" and "r" respectively.
The money they have after spending is k - 250 and r - 510.
After the spending occurred Keith has 3 times what Ranz has, which is k - 250 = 3(r -510), but since Keith and Ranz started with the same amount k = r and as can re-write this as k - 250 = 3(k -510) and solve:
k - 250 = 3(k -510) | distribute parenthesis
k - 250 = 3k - 1530 | + 1530
k + 1280 = 3k | - k
1280 = 2k | / 2
640 = k
Therefore r = 640 as well.
Verify...
640 - 250 = 3(640 -510) | solve parenthesis)
640 - 250 = 3(130)
640 - 250 = 390
390 = 390
Checks!
Zharlah F.
thank you08/31/19