Nail spacing for U-beam

A simply supported beam carries the loads shown.

Here is Canvas object wihch demonstrate the problem.

The beam is constructed from two 2 in. by 6 in. boards and one 2 in. by 12 in. board. Nails are used to fasten the boards together.

Each nail can support a shear force of 300 lb. For the location just to the left of support B, determine the maximum nail spacing s that can be used for the beam.