a. Gọi CTHH là: \(\overset{\left(I\right)}{K_x}\overset{\left(II\right)}{O_y}\)
Ta có: \(I.x=II.y\)
\(\Leftrightarrow\dfrac{x}{y}=\dfrac{II}{I}=\dfrac{2}{1}\Leftrightarrow\left\{{}\begin{matrix}x=2\\y=1\end{matrix}\right.\)
Vậy CTHH là: K2O
b. Gọi CTHH là: \(\overset{\left(II\right)}{Ba_a}\overset{\left(III\right)}{\left(PO_4\right)_b}\)
Ta có: \(II.a=III.b\)
\(\Leftrightarrow\dfrac{a}{b}=\dfrac{III}{II}=\dfrac{3}{2}\Leftrightarrow\left\{{}\begin{matrix}a=3\\b=2\end{matrix}\right.\)
Vậy CTHH là: Ba3(PO4)2