The sum of the measures of angle M and angle R is 180° .
· The measure of angle M is (5x+10°)
· The measure of angle R is 45°.

What is the value of x?

PLEASE EXPLAIN HOW TO DO IT!​