Rotating a servo a certain amount of degrees over a certain amount of time

lets just say that the inputs are all taken care off and now you have all the values you need as ints, what would the math look like?

the servo is just a normal sg90