if we call the price of citrons c and the price of fragrant wood apples f, then the first statement of the question gives us the equation
and the second statement gives
Hence, we have a system of equations with two unknowns and 2 equations which we need to solve in order to answer our question.
Let us solve for c in the first equation. Doing this gives
putting that into the second equation gives
With the value of f in hand, we put it into the first equation and solve for c:
Hence, the price of citron is 8 units and the price of the fragrant wood apples is 5 units.