5 = 5
6 = 2 * 3
9 = 3 * 3
8 = 2 * 2 * 2
It's like we're making a parts list with enough parts to make 5, 6, 9, or 8. In this case our parts list is 2 * 2 * 2 * 3 * 3 * 5 because that list has enough parts to make 5, 6, 9, or 8.
2 * 2 * 2 * 3 * 3 * 5 = 360
Answer: The LCD is 360.