Nail spacing for U-beam

A simply supported beam carries the loads shown.

Nail spacing for U-beam

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.