What have you tried that did not work?
What were the actual results of your attempt?
Hints:
Create an actual date value from the YearMo variable that allows use of DATE related functions
Does your instructor use table to mean "data set", used for further manipulation, or a "report table" that people read? B and C can be done in report procedures like Proc Report or Tabulate depending on desired appearance.