Two firms compete as a Stackelberg duopoly. The demand they face is P = 40 − Q. The cost function for each firm is C(Q) = 4Q. What are the profits of the two firms?

Show work.