Mr. Alvarez wants to make a gate that is three feet wide and five feet high. He needs to cut a board to nail across the diagonal of the gate. How long a board does he need?