How to add "equal" constraint to two dimensions without predefined values?

Please see the attached picture for reference, the Gap1 and Gap2 should be the same, and they are driven. I understand that a global variable is not an option here, so what can I do? Thank you!

Chen

SolidworksSketching