Find the equations of the lines which cut off intercepts on the axes whose sum and product are 1 and -6 respectively.