How do you a write an equation that shows this relationship

a cell phone company offers a plan which includes unlimited texting for $40 per month and 250 anytime minutes per month, plus $0.20 for each minute over 250.

Let x = minutes

40 + .20(x-250) = total monthly

Treat any negative value of x-250 as = zero.