While riding her bike to the ocean and back home 6 times, Mandi timed herself at 52min, 54min, 53min, 51min, 53min, and 43min. She had set a goal of averaging 51 minutes for her rides. How many minutes will she need to spend on her seventh ride to attain her goal?