Courtney sold 42 cantaloupes at the farmers' market and had 30 left. Which equation could be used to find x, the number of cantaloupes Courtney had originally?

x - 42 = 30