I have to make a fractal tree for these functions::

x -1, 0, 1, 2

---------------

y 1, 3, 9, 27

the rule for this function is y=3x3

and

x -1, 0, 1, 2

-------------------

y 3, 1, 1/3, 1/9

the rule for this function is y=1x/3

How do I make a fractal tree for those tables?

x -1, 0, 1, 2

---------------

y 1, 3, 9, 27

the rule for this function is y=3x3

and

x -1, 0, 1, 2

-------------------

y 3, 1, 1/3, 1/9

the rule for this function is y=1x/3

How do I make a fractal tree for those tables?