y is 5 less than the product of 3 and x.

Write a function rule that represents the sentence.

The function rule that represents the sentence is:

f(x) = 3x - 5