What type of sentence is the following sentence:

To build a treehouse, you would need wood, a hammer, a saw, and a lot of nails.

A). simple

B). compound

C). complex

D). compound-complex

B). compound