Let R=765 days (2 yrs)
Let A=Rand(-765 to +765)
Let W=ROUND(work ethic, 5,0)
Let A(A)=(A+1.05)/A
Let R(R)=[(R+A)*(A(A))]
Let Z=R(R)+[(R(R)/(W))]
Where Z is the number of days from first free-agency to when the player will actually retire.
I think I have that formula right.