The episode with commercials consists of 60 minutes, and without those, it consists of 41.5minutes; therefore, 60-41.5=18.5 minutes are only commercials when the episode airs.
Divide those 18.5minutes into intervals of 0.5 minutes by calculating

Therefore, the equation is

Solving for c,

Then, the episode included 37 1/2-minute commercials.