(c) Jessica is training for the 400 meter relay race. She has trained three times this week and took 46, 52, and 54 seconds on her 400 meter races. What is the maximum amount of time she can spend on her fourth race to average at most 51 seconds? Show your work and justify your steps.