Can you explain the steps involved in solving that problem?