Your problem, as other people commenting have noted, seems very much suited for using spherical coordinates. Defining these as (notice that I use the "physicist convention" for the polar angle)
$$
x = r\cos \phi \sin \theta, \\
y = r\sin \phi \sin \theta,\\
z = r\cos \theta
$$
You can write the Laplacian (you can look into the derivation here conversion of laplacian from cartesian to spherical coordinates) as
$${\nabla}^2u = \frac{1}{r^2} \frac{\partial}{\partial r}\left(r^2\frac{\partial u}{\partial r} \right) + \frac{1}{r^2 \sin\theta}\frac{\partial}{\partial \theta}\left( \sin \theta \frac{\partial u}{\partial \theta}\right) + \frac{1}{r^2\sin^2 \theta} \frac{\partial^2 u}{\partial \phi^2}$$
But, in this case, you also need to rewrite the partial derivative with respect to $x$ in terms of the partial derivatives of $u$ with respect to $r,\theta,\phi$. Using the chain rule,
$$\frac{\partial u}{\partial x} = \frac{\partial r}{\partial x}\frac{\partial u}{\partial r} + \frac{\partial \theta}{\partial x}\frac{\partial u}{\partial \theta} + \frac{\partial \phi}{\partial x}\frac{\partial u}{\partial \phi}$$
You can invert the relations defining the spherical coordinates to obtain
$$
r = \sqrt{x^2 + y^2 + z^2}, \\
\theta = \arccos \left(\frac{z}{\sqrt{x^2+y^2+z^2}}\right), \\
\phi = \arctan \left(\frac{y}{x}\right)
$$
to compute the partial derivatives (which you should check for yourself)
$$
\frac{\partial r}{\partial x} = \sin \theta \cos \phi, \\
\frac{\partial \theta}{\partial x} = \frac{\cot \theta}{r}, \\
\frac{\partial \phi}{\partial x} = -\frac{\sin \theta}{r\sin \theta}
$$
and then, you obtain the PDE in spherical coordinates:
$$
\frac{1}{r^2} \frac{\partial}{\partial r}\left(r^2\frac{\partial u}{\partial r} \right) + \frac{1}{r^2 \sin\theta}\frac{\partial}{\partial \theta}\left( \sin \theta \frac{\partial u}{\partial \theta}\right) + \frac{1}{r^2\sin^2 \theta} \frac{\partial^2 u}{\partial \phi^2} - k\left(\sin \theta \cos \phi \frac{\partial u}{\partial r} + \frac{\cot \theta}{r} \frac{\partial u}{\partial \theta} - \frac{\sin \theta}{r\sin \theta} \frac{\partial u}{\partial \phi}\right) = 0
$$
and the boundary conditions become $u(r = r_1) = u_1$ and $u(r \to \infty) = u_2 $. How would you go about finding the general solution to the differential equation? Is there any approach you would initially take?
EDIT:
Let's assume that the PDE you need to solve is indeed
$$
k\left[ \frac{1}{r^2} \frac{\partial}{\partial r}\left(r^2\frac{\partial u}{\partial r} \right) + \frac{1}{r^2 \sin\theta}\frac{\partial}{\partial \theta}\left( \sin \theta \frac{\partial u}{\partial \theta}\right) \right] = \cos \theta \frac{\partial u}{\partial r} - \frac{\sin \theta}{r} \frac{\partial u}{\partial \theta}
$$
The next step you'd like to take is to see if the equation is separable, which I will illustrate with an example. Consider the equation
$$
\frac{\partial u}{\partial x} - \frac{\partial^2 y}{\partial y^2} = 0
$$
with boundary condition $u(x,0) = u(x,L) = 0$ and let's try to write the solution in the form $u(x,y) = f(x)g(y)$. The equation would then become
$$
g(y)\frac{df}{dx} - f(x)\frac{d^2g}{dy^2} = 0
$$
(notice that the partial derivatives become ordinary derivatives, since each function depends on a single variable). Now, divide through by $f(x)g(y)$ and put one term on the RHS of the equation; that is,
$$
\frac{1}{f(x)}\frac{df}{dx} = \frac{1}{g(y)}\frac{d^2g}{dy^2}
$$
Now, you have an equation between two functions of different arguments, which must hold for any value of $x,y$. That means that if you, for example, held $x$ constant and started varying $y$, equality must still hold. However, if the expression $\frac{1}{g(y)}\frac{d^2g}{dy^2}$ varied as $y$ changes while we hold the LHS to a single, fixed value, then the equality would be lost. This means that the only way to satisfy this equation is if each side of the equation is equal to a constant! Let me pick it in the following way:
$$
\frac{1}{g(y)}\frac{d^2g}{dy^2} = -k^2
$$
which implies that also
$$
\frac{1}{f(x)}\frac{df}{dx} = -k^2
$$
(You can pick the constant to be anything you want since its actual value would be fixed by the boundary conditions. In this case, I picked it as $-k^2$ because I know what kind of solutions I expect). Now, These equations are easy to solve: The first one is given in terms of sines and cosines
$$
g(y) = A\sin{ky} + B\cos{ky}
$$
while the second one is an exponential
$$
f(x) = Ce^{-k^2 x}
$$
with $A, B, C$ constants of integration. The boundary condition $u(x,0) = 0$ implies $g(0) = 0$, which means that $B = 0$. The second boundary condition implies $g(L) = 0$, which gives the relation
$$
A\sin{kL} = 0
$$
Now, this either means that $A = 0$ or $\sin{kL} = 0$. The first solution is not very interesting, since it would simply mean that $u(x,y) = 0$. The second one, though, is more interesting: since the sine vanishes at any value of the form $n\pi$ where $n$ is any whole number, what we get is an infinite (but countable) set of values for k:
$$
k_n = \frac{n\pi}{L}
$$
where $n= 1,2,3,...$ up to infinity. Thus, we have a set of "fundamental" solutions
$$
u_n(x,y) = A_n e^{-\frac{\pi^2 n^2}{L^2}x}\sin{\left(\frac{n\pi}{L}y\right)}
$$
and, since our equation is linear, any linear combination of these solutions will itself be a solution. This means that
$$
u(x,y) = \sum_{n=1}^{\infty}A_n e^{-\frac{\pi^2 n^2}{L^2}x}\sin{\left(\frac{n\pi}{L}y\right)}
$$
Know, the constants $A_n$ you fix using additional boundary conditions. Let's say that, for example, you had the condition $u(0,y) = h(y)$ for some arbitrary function of $y$. Then, you would have the relation
$$
h(y) = \sum_{n=1}^{\infty}A_n \sin{\left(\frac{n\pi}{L}y\right)}
$$
which looks difficult, but it is enough to notice that this equation is giving you the Fourier sine expansion of $h$, and then finding $A_n$ would amount to computing the coefficients of the Fourier sine expansion of $h(y)$ (If you've never done this or are a bit rusty, you can look it up in this link https://tutorial.math.lamar.edu/classes/de/FourierSineSeries.aspx).
In the case of your equation, try to write $u(r,\theta) = f(r)g(\theta)$ and see if you can achieve a form where each side is dependent only on $r$ or $\theta$. The solution to each of the resulting equations will be more involved than the simple case I just wrote down, most likely involving Legendre polynomials in $\theta$, but the general idea is the same. If you get stuck, reply again and I'll try and help you a bit more.
$$u(x,y,z)=u_2 \quad \text{ for } \quad x^2+y^2+z^2\to \infty$$
with $u_1,u_2, \text{ and }r_1 \text{ constants}$
– umby Apr 16 '21 at 10:21