Which equation has the variable, or missing number, in the correct place to match the given situation?

The Mansour family drove a total of 687 miles, starting on Friday and ending on Sunday. They drove 313 miles on Friday and 164 miles on Saturday. How many miles did they drive on Sunday?

Let "x" represent the number of miles driven on Sunday.

The correct equation would be:

313 + 164 + x = 687