Original: James Nelson gave the course, which was based on the famous textbook by Paul Samuelson.
Simplified: His economics teacher was James Nelson and his studies were based on a famous textbook by Paul Samuelson.