Woonsocket man draws 24 years for 2 rapes