Get rid of temporary variable.
Introduce new variables rather than reusing old ones. It makes the calculations clearer.