Move point A to change the height and create a parallelogram of your choice. Drag point I to the extreme right of the segment
NOTE: When point B is moved to change the length of the base of the parallelogram, adjust point D to be parallel to point C, this will keep the triangle that will be cut off and translate it to the right in place.