Please help solve both due soon

Answer:
x is 7
EF is 10
FG is 12
Step-by-step explanation:
[tex]EF + FG = EG \\ (4x - 18) + (3x - 9) = 22 \\ 7x - 27 = 22 \\ 7x = 49 \\ x = 7[/tex]
then substitute:
[tex]EF = 4x - 18 \\ EF = 4(7) - 18 \\EF = 28 - 18 \\ EF = 10[/tex]
[tex]FG = 3x - 9 \\ FG = 3(7) - 9 \\FG = 21 - 9 \\ FG = 12[/tex]
First question:
BC + BA = CA
BC = CA - BA
BC = 36 - 9
BC = 27