Since angles G and T are right angles, so the segments DG and CT are parallel.
That means angles C and D are corresponding angles, therefore they are congruent.
Also, angle A is common to both triangles ADG and ACT.
Since we have two pairs of congruent angles between the triangles, they are similar by case AA.
Correct option: First one.