"Am I following the right approach?"
Yes, but you are doing it the hard way.
"What should be my next step"
You should notice that since $\sqrt p$ is irrational that means $(a_1b_2+a_2b_1)$ must be equal to $0$.
But that's the hard way:
Here's the easy way:
I am NOT going to use your notation $b = a_1 + b_1\sqrt{p}$ ($b$ is a bad choice of variable). I will use $\alpha = a + b\sqrt{p}$. $a$ and $b$ are both rational and as $\alpha \ne 0$, $a$ and $b$ are not both equal to $0$.
$(a + b\sqrt{p})*\beta = 1$
$\beta = \frac 1{a+b\sqrt{p}}$
$= \frac 1{a+b\sqrt{p}}*\frac {a-b\sqrt{p}}{a-b\sqrt{p}}$
$=\frac {a-b\sqrt{p}}{a^2 -b^2p}= \frac {a}{a^2 - b^2p} - \frac {b}{a^2 - b^2p}\sqrt{p}$
$\beta \in \mathbb Q$ because $\frac {a}{a^2 - b^2p}$ and $- \frac {b}{a^2 - b^2p}$ are rational.
.....
Okay, I had a flash of insight that comes from experience that $(a+b)(a-b) = a^2 - b^2$ is the standard way to remove radicals in denominators.
What if I hadn't had that insight?
Let's go back to your method...
Again I will not use your notation $d = a_2 + b_b\sqrt{p}$. I will use $\beta = c + d\sqrt{p}$ where $c,d \in \mathbb Q$.
If $(a + b\sqrt{p})$ has an unique inverse then $(a+b\sqrt{p})(c+d\sqrt{p}) = 1$ will have a unique solution for $c,d \in \mathbb Q$. Does it?
Let $c,d\in \mathbb Q$ and
$(a + b\sqrt{p})(c + d\sqrt{p}) = ac + bc\sqrt p + ad \sqrt p + bdp$
$= ac+ bdp + (bc +ad)\sqrt p = 1$.
Since $\sqrt p$ is not rational then $q + r*\sqrt p$ is not rational for any rational $q, r$ $r = 0$. But the above equation is equal to $1$ which is of course rational.
So that means $bc + ad=0$.
And so $ac + bdp = 1$.
$2$ equations; $2$ unknowns ($c,d$).
Let's do it:
All right $bc = -ad$ and $c = \frac {-ad}b$. (This assumes $b \ne 0$. But that's okay. $b = 0$ means $a + b\sqrt p = a$ and $a^{-1} =\frac 1a$).
[And as $a + b\sqrt \ne 0$ is not the case that both $a$ and $b$ equal $0$]
So $\frac {-a^2d}b + bdp = 1$
$d(bp-\frac {a^2}b) = 1$
$d = \frac 1{bp-\frac {a^2}b} = \frac b{b^2p - a^2}$
$c =\frac {-ab}{b(b^2p - a^2)}= \frac {-a}{b^2p - a^2}$
These are unique solutions so
so $(a+b\sqrt p)^{-1}= c + d\sqrt p = \frac {-a+ b\sqrt p}{b^2p - a^2}= \frac {a - b\sqrt p}{a^2 - b^2 p}$