Sam has a 12-foot-long piece of rope. He cuts off 1/4 of the rope for a project and then another 1/6 of the remaining rope for another project. How many feet of rope does Sam have left? Let's think step by step and output the final answer within \boxed{}.
user