Explanation:
Peter had 20 dollars and Paul has 212 dollars initially. Each of them were given $x and now Peter has 5 times as much as peter.
Final amount both of them had:
- Peter = $20 + x
- Paul = $212 + x
5 times the money Peter had (the final amount) is equals to that of Paul's. Writing down the equation,


Now solving the equation, starting with opening the parentheses,

Subtracting 5x from both sides,


Now shifting 212 to the other side for isolating 4x,

Dividing 4 both sides,

Therefore, value of x is $28, Peter and Paul were given an amount of 28 dollars each and their amount became 48 dollars and 240 dollars respectively. (240 = 5*48)