after messing around for quite some time, i found a third solution. it's not nearly as precise as the second one, but uses a similar concept.
gregatku for remixing the line puzzle papipupepappa for the original line puzzle