Bài 1: Cho biểu thức: P =\(\left(\dfrac{x+1}{x-1}-\dfrac{x-1}{x+1}\right):\dfrac{2x}{5x-5}-\dfrac{x^2-1}{x^2+2x+1}\)
a) Tìm điều kiện của x để biểu thức P xác định.
b) Rút gọn biểu thức P.
c) Với giá trị nào của x thì P = 2.
d) Tìm các giá trị nguyên của x để P nhận giá trị nguyên.