Final answer:
The function P(x) for weekly pay when an employee works x hours at the regular hourly wage of $14.50, with no overtime, is P(x) = 14.50 × x, where x is the number of hours worked and is less than or equal to 40.
Step-by-step explanation:
The student is asking how to write a function P(x) that defines the weekly pay for employees who work up to but not more than 40 hours a week, given that they are paid time and a half for overtime and the regular hourly wage is $14.50. Since the scenario does not concern overtime and it's strictly for hours up to 40, the function for weekly pay will not include overtime calculations.
To construct this function, we will use the regular hourly wage multiplied by the number of hours worked if the hours worked are 40 or less. Therefore, the function P(x) for the weekly pay P when x hours are worked is:
P(x) = 14.50 × x
Here, x represents the number of hours worked in a week, with x being less than or equal to 40.