For this case, the first thing we must do is define variables:
x: total amount of wood feet
y: measure of each piece of wood in feet
n: total number of pieces of wood
We now write the equation that models the problem:

Substituting values:

Writing the amount for the next closest whole number we have:

Answer:
Samuel will need 22 pieces of wood