The price of a bag of candy is a linear function of the amount of candy in the bag. A bag containing 25 pieces costs $0.99 and a bag containing 100 pieces costs $3.99. Write the function that models this situation. Express your answer in y = mx + b form, using decimals. Round decimal values to the nearest hundredth.