Let's say I have the system of equations $$ \frac{\mathrm{d}\rho}{\mathrm{d}t} = \left\{\begin{matrix} \beta, \hspace{3mm} x < 0 \\ 0, \hspace{3mm} x \geq 0 \end{matrix}\right., \\ \frac{\mathrm{d}x}{\mathrm{d}t} = 1-2\rho $$
With the initial condition $ \rho(x,0) = \left\{\begin{matrix} 1/2, \hspace{3mm} x < 1 \\ 1, \hspace{3mm} x \geq 1 \end{matrix}\right. $
edit: $\beta$ is a positive constant. How would I go about solving this? A general outline is fine I would not like a detailed working. For context, this is in an attempt to solve the PDE $$\frac{\partial\rho}{\partial t} + (1-2\rho)\frac{\partial\rho}{\partial x} = \left\{\begin{matrix} \beta, \hspace{3mm} x < 0 \\ 0, \hspace{3mm} x \geq 0 \end{matrix}\right.,$$ using the method of characteristics.
EDIT: As @EditPiAf points out, the characteristics for $x < 0$ are given by $x = x_0 -\beta t^2$, along which $\rho = 1/2 + \beta t$, here the first issue arises. which is what happens after $t = 1/2\beta$? The shock emanating from $x = 1$ will reach the $x < 0$ region at $t =2$, resulting in another shock, defined by $x_s$. But what actually is the form of the characteristics in this region (neighbourhood of $x=0^-, t=2$)? I would think that they are given by $x = -\beta(t-t_0)^2$ but I can't rigorously justify this.