Line equality problem