Answer:
0.40p+0.25a=cost
Explanation:
Considering that every apple costs 25 cents and every pear costs 40 cents, you would multiply how many apples and or pears there are by how much they are worth and then add it to get the total cost. Due to there not being a specific total or how many apples and/or pears there are, it currently can't be solved.