Find the values of x and y if [[x+10, y^2+2y], [0, -4]]=[[3x+4, 3], [0, y^2-5y]]