The maximum allowable spacing for the nails
to the left of support B is s = 3 in.

Here is Canvas object wihch demonstrate the problem.