Finding height of a parallelogram