n = 3m. Think of it this way: every month, this guy is watching 3 movies. So in 1 month, he's watched 3. In 2 months, he's watched 6. So the total number of movies that he's watched in months is 3 * however many months, which the problem is saying noting as 'm'