The information provided can be interpreted as the price for three fruit baskets
with different combinations of the three fruits. This corresponds to a system of
linear equations where the price of the three fruits is the vector of unknowns :
The system of linear equations is then:
This can be solved using any solution algorithm, e.g., elimination:
Based on the three prices for the different fruits it is straightforward to
compute the total price of the fourth fruit basket via: