David made 30 cups of tea per hour. David worked for D hours. In D hours, he made 30D cups of tea. Then he made an additional 10 cups of tea, so this week, he made 30D + 10 cups of tea.
Andrew made 35 cups of coffee per hour. Andrew worked for A hours. In A hours, he made 35A cups of tea.
The total cups of tea and coffee made this week is:
30D + 10 + 35A