It's referred to as the BCPM gpa. All undergrad courses you have taken that are classified under Biology, Chemistry, Physics and Mathematics will make up your science gpa.
The difficulty of the course doesn't matter, just the classification and content. Look around on the AAMC site, their is a document that lists what courses will count towards your science gpa. Use it as your guide.