Let the time taken for car 1 to reach P from A be x hours.
Speed of car 1=AP/x
Given BP=3AP
Car 2 starts from B to A and reaches P one hour after car 1 reaches P.
Speed of car 2 = 3AP/x+1
Therefore, 3AP/x+1 = 1/2(AP/x)
Or x = 1/5 Time taken for car 1 to reach P from A is 12 min