if A gives B $3, B will have twice as much as A. If B gives A $5, A will have twice as much as B.How much does each have?

2(a-3) = b+3

a+5 = 2(b-5)

A has $11, B has $13