Indicate the meaningful sentence from the cues given: / / / / / . *

He spent 2 hours repair the bike yesterday.
He spent 2 hours to repairing the bike yesterday.
He spent 2 hours to repair the bike yesterday.
He spent 2 hours repairing the bike yesterday.