What is the measure of ∠R

77 degrees
Step-by-step explanation:
The triangles are similar so all the angles would be congruent.
63 + 40 + r = 180
103 + r = 180
-103 -103
r = 77
I hope this helps have a good day!