Verified Answer :

(n-5)+45
where n is the number, you always take away 5 and you add 45 because that is the first number of the sequence

The attachment shows the work :D

View image KittyBurrito