Former BYU-I student gets up to 10 years for rape of child