A membership to the local gym costs $40 and then $2 per visit. What is the maximum number of visits that can be made for $90? Is the function's model linear or exponential?