Solution with Lines