Quadrilateral ABCD is a parallelogram. If AB=2x-10 and CD=x+30,then AB=_​