It's more common to use "the" in both sentences, but you could get away with dropping it in the first sentence. It's necessary for the second sentence.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.