If a pendulum-driven clock gains 5.00 s/day, what fractional change

in pendulum length must be made for it to keep perfect time?

Please provide explanations and solutions. Thanks in advance :D