If x is the number of hours the carpenter works, then f(x) is the total money he will receive. We now have a function of f(x) = 50x. We substitute the value 240 hours to the equation: f(240) = 50(240) = 12000. He will receive a total of 12000 pesos for working for 240 hours.