Problem 2 subsection 4

Evaluating all the potential solutions in order to get the desired
results