The document describes creating two linked lists with eight nodes each. The lists are sorted as they are created with each node containing a last name and age. The lists are then printed. Nodes under age 40 are deleted from the first list and nodes over age 50 are deleted from the second list. The remaining nodes from both lists are then merged into a single sorted list.