Given the expression;
![12x-18y+24](https://img.qammunity.org/2023/formulas/mathematics/college/9k9ftbyb0r4zsht2qwooyo3uskcwe1jr9l.png)
We shall take the common factors as shown below;
![\begin{gathered} 12x=2*2*3* x \\ 18y=2*3*3* y \\ 24=2*2*2*3 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/bgx6xvn15r1i22pcyrv1dnh5dtjvn5tqmc.png)
We can now take all the common factors as follows;
![2,3](https://img.qammunity.org/2023/formulas/mathematics/college/26e5pnh8mylpwuv2vsi8dom9badz1zbvn7.png)
Note that other values are not common to all three numbers. Hence what we have as the greatest common factor is the product of 2 and 3.
The greatest common factor therefore is 6.