A race pilot’s average rate of speed over a 720-mi course is

a race pilot’s average rate of speed over a 720-mi course is inversely proportional to the time in minutes t the pilot takes to fly a complete race course. The pilot’s final score s is the average speed minus any penalty points p earned.
Write a function to model the pilot’s score for a given t and p.