\[5\frac{1}{4}\ :x = \frac{7}{8}\]
\[x = 5\frac{1}{4}\ :\frac{7}{8} = \frac{21 \cdot 8}{4 \cdot 7}\]
\[x = 6.\]