Respuesta :

using LCM least common multiple

I think the other answer is correct.