$$\frac{5}{8}\times 32=x$$
Express $\frac{5}{8}\times 32$ as a single fraction.$$\frac{5\times 32}{8}=x$$
Multiply $5$ and $32$ to get $160$.$$\frac{160}{8}=x$$
Divide $160$ by $8$ to get $20$.$$20=x$$
Swap sides so that all variable terms are on the left hand side.$$x=20$$