24x - 40= Greatest common factor
The GCF is 8, you can also double check my work by dividing 24/8, then 40/8