Hint 1: Is there an algorithm (method) within our context that will provide much of the needed logic?
Hint 2: Is there a second algorithm (method) within our context that will also provide helpful logic?
If so, we should consider calling these two existing algorithms.