Let lines CH and PT meet at U and denote by A′, B′, C′ the feet of the altitudes of the triangle ABC.
AHIC is a cyclic quadrilateral, so ∠CHI=∠CAI=2∠A. Since PT∥HI, it follows that ∠HUT=∠CHI=2∠A.
Hence, ∠CUP=∠HUT=2∠A. (1)
The quadrilateral AHIC is also cyclic, so ∠A′HI=∠ACI=2∠C.
From the triangle A′HC we have ∠A′CH=90∘−∠A′HC=90∘−2∠A+∠C=2∠B. From the right-angled triangle BCC′ we get ∠B+2∠B=90∘, so ∠B=60∘.
Notice that ∠ABB′=∠ACC′=90∘−∠A. The quadrilateral BCTH is cyclic, so ∠B′TB=∠TCH=90∘−∠A=∠ABB′.
Therefore, BB′ is an angle bisector and also an altitude for triangle ABT, so AB=BT. Since AHIC is cyclic, it follows that ∠BPI=∠CAI=2∠A and ∠API=∠ACI=2∠C. Hence, ∠APB=2∠A+∠C=60∘=∠B, so the triangle ABP is equilateral.
Thereby, BP=AB=BT, so triangle BPT is isosceles, hence ∠BPT=2180∘−∠PBT. Triangle ABT is also an isosceles one, so ∠ABT=180∘−2∠A. Noticing that ∠PBT=∠B−∠ABT, it results that ∠PBT=2∠A−120∘, which leads to ∠BPT=150∘−∠A (2).
From the exterior angle theorem we infer that ∠BPT=∠CUP+∠PCU. Using (1) and (2), we obtain 150∘−∠A=2∠A+2∠B=2∠A+30∘, so ∠A=80∘ and ∠C=40∘.