Solving inverse trig question without forming cases

Question:

Find $x$ if $\mathrm{arctan}(x+3)-\mathrm{arctan}(x-3)=\mathrm{arctan}(3/4)$

My attempt:

I know the formula:

$\mathrm{arctan}x-\mathrm{arctan}y=\mathrm{arctan}(\frac{x-y}{1+xy})$

for both $x,y>0$

If both $x,y$ are NOT greater than $0$ then we'll need to form a second case in the above formula.

I solved assuming both $x+3$ and $x-3$ are greater than zero and got a quadratic in the end solving which I got $x=\pm 4$

I dutifully rejected $x=-4$ as it invalidated my assumption. However on putting in the above equation I found that it DOES satisfy the equation.

I do not wish to form cases for positive/negative. I wish to know if there is a simpler and direct way to solve such a question. Thanks!

Question:

Find $x$ if $\mathrm{arctan}(x+3)-\mathrm{arctan}(x-3)=\mathrm{arctan}(3/4)$

My attempt:

I know the formula:

$\mathrm{arctan}x-\mathrm{arctan}y=\mathrm{arctan}(\frac{x-y}{1+xy})$

for both $x,y>0$

If both $x,y$ are NOT greater than $0$ then we'll need to form a second case in the above formula.

I solved assuming both $x+3$ and $x-3$ are greater than zero and got a quadratic in the end solving which I got $x=\pm 4$

I dutifully rejected $x=-4$ as it invalidated my assumption. However on putting in the above equation I found that it DOES satisfy the equation.

I do not wish to form cases for positive/negative. I wish to know if there is a simpler and direct way to solve such a question. Thanks!