Update variables.rst

Added Instance example to docs.