HP Prime program for help in answering Q6 of the exam paper based on previous years papers.