How do I fix the two black lines on my mesh?
You have edges going across faces.

Remove the edges that go across these faces by selecting them, pressing x and selecting delete edges.

Next select the vertices that were left behind and press j key to join these vertices

The end result is quite good.