A sum of money was shared between Lisa and Varsha in the ratio 3:5. Calculate the sum of money shared if Varsha received $900 more than Lisa.

their shares are 3x and 5x

you know that
5x = 3x+900
solve for x, then you want the total, 8x