Let $A = \{(x, y) \in \mathbb{R}^2\mid x^2 + y^2 = 1\}$ and $B = \{(x, y) \in \mathbb{R}^2 \mid y = 3 - x\}$. I am currently taking my analysis/metric spaces class and would like to find the distance between these two sets in a more "analytical" way. That is, using only the definition $\mathrm{dist}(A, B) = \inf \{d_{\mathbb{R}^2}(a, b) \mid a \in A, b \in B\}$. I know this might sound like heresy, but I would prefer for the proof to not contain any argumentation by pictures etc. Just by the tools of analysis. The issue is that I honestly do not even know where to start. Sure, $d_{\mathbb{R}^2}(a, b) = \sqrt{(a_1 - b_1)^2 + (a_2 - b_2)^2}$ and points in $A$ and $B$ satisfy the properties of a circle and a line. But by using only the tools of analysis, how can you derive the distance between the sets?
I do know that this problem is trivial with the use of the formula $\frac{\left|ax_0 + by_0 + c\right|}{\sqrt{a^2 + b^2}} - r$, where $(x - x_0)^2 + (y - y_0)^2 = r^2$ is a circle and $ax + by + c = 0$ is a line. But so far (through HS) I have only ever used these ready made tools and argumentation by e.g. geometry to find the answers. Therefore I do not know how to approach this problem in the "analysis" way.