Rita started the day with r apps. Then she deleted 5 apps and still had twice as many apps as Cora has. Write an equation that represents the number of apps Rita had at the beginning of the day