Mariana and her children went into a movie theater and she bought $51.25 worth of candies and pretzels. Each candy costs $4.75 and each pretzel costs $3.25. She bought a total of 13 candies and pretzels altogether. Write a system of equations that could be used to determine the number of candies and the number of pretzels that Mariana bought. Define the variables that you use to write the system.

Let's define the variables:

Let c be the number of candies.
Let p be the number of pretzels.

We can write the system of equations as:
c + p = 13 (the total number of candies and pretzels is 13)
4.75c + 3.25p = 51.25 (the total cost of candies and pretzels is $51.25)

Therefore, the system of equations is:
c + p = 13
4.75c + 3.25p = 51.25