\displaystyle \frac{a}{x}=\frac{c}{d}\: \Rightarrow \: x=\frac{a\cdot d}{c} 