From the information given in the statement, you know that Molly earns $ 6 per hour at her job. The hours that Molly works corresponds to the independent variable because her pay depends on the number of hours she works, that is
As you can see, the function that describes Molly's pay is