In the figure below, angle y and angle x form vertical angles. Angle x forms a straight line with the 50° angle and the 40° angle.

A straight line is shown and is marked with three angles. The first angle measures 50 degrees. The second angle measures 60 degrees. The third angle is labeled x. The line between the 40 degree angle and angle x extends below the straight line. The angle formed is labeled angle y.

Write and solve an equation to determine the measure of angle y.