I've spent hours on this and can't manage to crack it so please solve it step by step and show me how to achieve the final answer.