The LCM is 40, multiply all prime factors the greatest number of times they occur in either number to get the LCM.