I believe the answer should be Case 1, 1.
Let's say our registers are $R_1$ and $R_2$
Case 1:
Move $a$ into $R_1$.
Add $b$ to $R_1$
Move $c$ into $R_2$
Add $d$ to $R_2$
Subtract $R_2$ from e.
Subtract $R_2$ from $R_1$
Store the result in memory via a move operation.
Total: 3
Case 2:
Move $c$ into $R_1$
Add $d$ to $R_1$
Move $e$ into $R_2$
Subtract $R_1$ from $R_2$
Move $a$ into $R_1$
Add $b$ to $R_1$
Subtract $R_1$ from $R_2$
Store the result in memory via a move operation.
Total: 4.