Gracie, Mary, and Nancy each have a small collection of seashells. Gracie has 5 more than 1 1/4 times the number of shells Mary has. Nancy has 1 more than 1 1/2 times the number of shells Mary has. Gracie and Nancy have the same number of shells. If x is the number of shells Mary has, identify the equation that represents this situation and identify its solution.