The task is to generate the correct answer for a given math problem.

Problem: the roof of an apartment building is rectangular and its length is 3 times longer than its width . if the area of the roof is 588 feet squared , what is the difference between the length and the width of the roof ?
28 .