what is the "expanded" form of ln[x2(x-2)/(x+1)]?

ln x^2 = 2 ln x

so
2 ln x + ln(x-2) - ln (x+1)