Finding the LCD of rational expressions with quadratic denominators