Maria drove her car for 8 hours at a speed of 4/7 miles per hour. In another trip, she initially had 38 dollars for gas but spent 50/4 dollars on gas. What is the summation of the total miles Maria drove and the remaining amount of money she had for gas?