Part 2 of Selberg's 1954 Gottingen lectures on the trace formula