Since both the triangles are similar therefor there angle are equals
angle E = angle A
angle D = angle C
angle F = angle R
In right triangle DEF first find out the side DE with the help of pythagoras theorem
H² = P² + B²
13² = P² + 12²
169-144= P²
p²= 25
P = 5 ft
hence tanR=tanF= perpendicular/ base= 5/12