Hello, I m new in ctf

I m trying to understand what's going on with Basic Understanding challenge.

SPOILER ALERT

I know that there is a format string vuln. I can leak memory addresses but I don't understand the role of Text, var, num. I can not leak any of that addresses.

Any advice?