Paragraph
Suppose
\(ad \equiv bd \pmod n\text{.}\)
Then
\(a \equiv b \pmod{\frac{n}{\gcd(d,n)}}\text{.}\)
in-context