How to change the weight text that is bound to a variable and is also using a typography setting?

This is the format used for typography.

600 60px/72px Inter
Weight + Font Size/Line Height + Font Name