To solve this, set up a function where w is the number of weeks and h(w) is the number of houses made per week. As you produce 3 houses a week, your function would be h(w)=3w. Now, as you want to produce 54 houses, set your h(w) equal to 54, making your function 54=3w. Now, solve for w, divide both sides by 3, w=54/3=18. This means your answer is 18 weeks.