Specify length of a PORTION of an object

In CorelDraw X7, is it possible to specify the length of a part of an object? For example in the object below, can I make the length of the RED rectangle be X and as a result resize the whole object keeping the original proportions.

Thanks!