The sum of measure of exterior angles of a regular polygon is always 360 degree.
Determine the measure of a exterior angle for a regular nonagon.

Determine the measure of exterior angle for a regular pentagon.

The angle RST is equal to sum of exterior angle of nonagon and exterior angle of pentagon. So,

Thus measure of angle RST is 112 degree.