Answer:
For the upcoming bake sale at the fair we baked a cake and frosted it.
Step-by-step explanation:
The comma is unnecessary.
It should be a cake and not the cake because it not a specified cake.
Because the action was done in the past it needs to be frosted and not frost.