5. A rectangular photo is framed with a requirement that there be a 2-inch border around the photo. Upon measurement, the photo is found to be 8 inches tall and 10 inches wide. The area of the frame excluding the photo is ( ) square inches.
(A) 36
(B) 40
(C) 64
(D) 72
(E) 88
5. E.

As shown in Figure 4.
The area of the remaining part is
$$
2 \times 2 \times 4 + 2 \times 8 \times 2 + 10 \times 2 \times 2 = 88 \text{.}
$$