How does the sentence end?

Donald was showing Logan how to do difficult puzzles but 
OPT:
a). Donald was struggling to learn how.
b). Logan was struggling to learn how.
b).