David and Amarita had an equal number of marbles.After amirita gave 50marbles to David, he had 5times as many marbles as her. Find the total number of marbles they had