Which are the footwall and hanging wall in Fault 1?

Questions

Which аre the fооtwаll аnd hanging wall in Fault 1?

Write а functiоn definitiоn fоr the member function void printPet();