$$ax+by=1$$
$\left\{\begin{matrix}a=-\frac{by-1}{x}\text{, }&x\neq 0\\a\in \mathrm{C}\text{, }&b=\frac{1}{y}\text{ and }y\neq 0\text{ and }x=0\end{matrix}\right.$
$\left\{\begin{matrix}b=-\frac{ax-1}{y}\text{, }&y\neq 0\\b\in \mathrm{C}\text{, }&a=\frac{1}{x}\text{ and }x\neq 0\text{ and }y=0\end{matrix}\right.$
$\left\{\begin{matrix}a=-\frac{by-1}{x}\text{, }&x\neq 0\\a\in \mathrm{R}\text{, }&b=\frac{1}{y}\text{ and }y\neq 0\text{ and }x=0\end{matrix}\right.$
$\left\{\begin{matrix}b=-\frac{ax-1}{y}\text{, }&y\neq 0\\b\in \mathrm{R}\text{, }&a=\frac{1}{x}\text{ and }x\neq 0\text{ and }y=0\end{matrix}\right.$