I want my pdf cases to look like that

[![look i want](https://i.stack.imgur.com/GdGVX.png)](https://i.stack.imgur.com/GdGVX.png)

When I try to do it myself, I have this effect:

[![My pdf](https://i.stack.imgur.com/O5GR0.png)](https://i.stack.imgur.com/O5GR0.png)

Here is my latex code:

```latex
\begin{equation*}
g(x)=
\begin{cases}
\frac{x}{x-1} & \textrm{dla}\quad x<-1, \\
2\sin{\pi x} & \textrm{dla}\quad x \in \langle -1,3), \\
\frac{3x+1}{8x} & \textrm{dla}\quad x \in \langle 3,6 \rangle , \\
4x^3 & \textrm{dla}\quad x>6.
\end{cases}
\end{equation*}

```

Please fix my code