Sam tried to go to sleep, but he couldn't.  He suffered from what?
being awake wakefulness stay awake
wakefulness
"tried" meant he wants to sleep, rather than voluntarily stay up.  thus answer b is more suitable.
tried to go to sleep