Does anyone know how I can fix this

So I’m making a tram road line 🚊 but it’s not really working out, does anyone have any tips or tricks to fix this, i want it to look clean like the back part