TypeError: unsupported operand type(s) for +: 'Fraction' and 'Fraction' code example

Example 1: TypeError: unsupported operand type(s) for +: 'Fraction' and 'Fraction'

The green shape is a dilation of the black shape. What is the scale factor of the dilation?
-10
10
-10
10
0

Example 2: unsupported operand type(s) for / 'fraction' and 'fraction'

gcden = gcd(numerator,denominator)
Traceback (most recent call last):
  File "zwölf.py", line 127, in <module>
    f3 = f1 * f2 
TypeError: unsupported operand type(s) for *: 'Fraction' and 'Fraction'