Luigi is an urban planner. As an independent contractor, he charges a $140 fee plus $25 per hour for each contract with the city. Write a function to represent this scenario where y represents the total amount he charges for a project and x represents the number of hours worked on a project.