He can appoint few servants to take care of them or ask help from their relations who could take care of them tell the teacher that his grandparents were unwell and tell he/her that your friend's parents were not at home as they had to get the medicones from the pharmacy so your friend would have to stay and help them till his parents were back from the pharmacy.