Formula for offset to scale for gui objects?

For that:

2 Likes