Education

So, miles from my primary residence to clinical site and back are deductible, correct?  I am required by the university to visit these sites as part of my degree. But it is not at my school.  Where do I enter these miles?  or is there a formula to use when entering school related expenses?