then find the value of a and height of the parallelogram taking AB as base.