You can add up all the equal terms:
So for x: 6x-4x = 2x
For y: 2y
For the numbers: 3+7=10
Green or purple = 10
prob(green or purple) = 10/30 = 1/3
f(x)=40
x=8
so if x=2 it would be 40/8 which is 5
A*a + b*b = c*c
9*9 + 12*12 = c*c
81 + 144 = c*c
225 = c*c
✓225 = 15
c = 15
The hypotenuse is 15.