The Bill scored 52 points. The Dolphins scored 14.
You can represent the number of points scored by the Dolphins with x. Since the Bills scored 24 more than twice the Dolphin's score, you can represent that with 2x + 24. Both teams scored 66 points total, so you can create an equation and then solve for x:
x + 2x + 24 = 66
Solving for x gets you the Dolphins score, 14. Plug 14 into 2x + 24 to get the Bills score, 52.