I think your prof screwed up. The first line in the 3-input solution is the solution for 2-input. Stop focusing on it.
Your k-map is correct, but is written using ANDs and ORs. Use, um, I think it was Lagrange? not sure. Basically, rewrite it using NANDs and NORs and you should get the second line in the solution.
f=(x1)' (x2 + x3)
substitute NOR for the AND and you get
f=( (x1) + (x2 + x3)' )' the beginning of the second line in the 3-input solution. Don't believe me, make a truth table. x'y=(x + y')'
Personally, I'd have gone the 2-input way. A single NOR and an inverter is what first popped into my head. In case you're wondering, a single input into both NAND inputs equals a NOT.