Lets remember the property "alternative-interior angles" when we have parallels lines:
Given two paralles lines, the following is true:
In our question, we have:
We know that the angles J + P + K=180
So, the triangles have all the angles the same, so they are similar by angle-angle-angle, and they have one side congruent, AC=CD, so the triangles are congruents.