We can divide the prism in 3 pairs of equal rectangles as follows:
for the first pair, the area of one rectangle is

for the second pair, the area of one rectangle is

and finally, for the third pair, the area of one rectangle is

Therefore, the surface area S is given by

which leads to

which corresponds to option C.