Final answer:
The total number of fruits that Ritu has can be calculated using the expression 2x + y - z.
Step-by-step explanation:
The total number of fruits that Ritu has can be calculated by adding the number of apples and mangoes she bought and then subtracting the number of apples she returned. After that, we can add the number of oranges she replaced for the returned apples. So the correct expression to represent the total number of fruits with Ritu is (x + y) - z + x. Simplifying this expression, we get 2x + y - z.