Tutor.com Interview Question

Like, how did you solve this problem, what rules did you use for this problem.