How do I do a tree diagram to find the least common multiple

For example, the tree for 24 is...

12 * 2
6 * 2 (* 2)
3 * 2 (* 2 * 2)

You have to draw branches, though. From the 24 stems 12 and 2. From the 12 stems 6 and 2. From the 6 stems 3 and 2.

Do this for both of your numbers to compare the least common multiple.