Input (grade 6): James Nelson gave the course, which was based on the famous textbook by Paul Samuelson.
Output (grade 8): His economics teacher was James Nelson and his studies were based on a famous textbook by Paul Samuelson.