Read the following passage and solve the questions based on it.
There are various rides available at the annual Lucknow Mahotsav. One of the rides that is available is the roller coaster ride, comprising five cars, numbered 1 through 5 from the front to back. Each car can accommodate up to two riders, seated side by side. Six persons—T, G, L, M, P and J, are taking the ride simultaneously. The Following information is available regarding their seating pattern:
(i) L is sharing a car.
(ii) M is not sharing a car and is seated immediately behind an empty car.
(iii) T is not sharing a car with either G or P.
(iv) G is in either the third or the fourth car.
If P is in the second car, how many different combinations of riders are possible for the third car?