D
Revert "D"

This reverts commit bd3627b8306f4179f9ac45d41af854f26f47b050.
Remove redundant parts of solution area
Ensure numerators never cancel
Add code for denominator simplifying to 1