Michael spent $18 at a local farmers’ market. Apples cost $2 each and peppers cost $3 each.

Select the equation that represents the scenario.
p = 2a + 3a + 18
2a + 3a = 18p
2p + 3a = 18
2a + 3p = 18