If the equation ax2−6xy+y2+bx+cx+d=0 represents a pair of lines whose slopes are m and m2, then value(s) of a is/are