What does the law of cosines reduce to when dealing with a right triangle? A. The Pythagorean theorem B. The formula for a triangle's area C. The law of sines D. The formula for a triangle's area