While riding her bike to the ocean and back home 6 times, Melissa timed herself at 42min, 46min, 52min, 57min, 59min, and 55min. 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?