Ashton's final exam in math had two parts. He had a total of 50 minutes to complete the entire exam. He spent 25 minutes on Part 1 of the exam. Write and solve an equation to show how much time he had left to complete Part 2.

Let x be the amount of time Ashton had left to complete Part 2.

The total amount of time Ashton spent on both parts is 25 + x minutes.
Since Ashton had a total of 50 minutes to complete the entire exam, we can set up the equation:
25 + x = 50
To solve for x, we can subtract 25 from both sides of the equation:
x = 50 - 25
x = <<50-25=25>>25
Therefore, Ashton had 25 minutes left to complete Part 2 of the exam. Answer: \boxed{25}.