To answer the question above, let x and y be the number of apples and oranges Miranda bought, respectively.
For Miranda's case, the total number of fruits she bought is 5.
(1) x + y = 5
The number of fruits Owen bought can also be represented by the equation,
(2) 3x + 2y = 12
Solving for x and y from the two equations give x = 2 and y = 3. Therefore, the answer is letter B. Miranda bought 2 apples.