sin(7pi/8) is in the 2nd quadrant so it's positive. You can eliminate only (e) with this.
You need to remember your reference angles. These are (pi +- value), (2pi - value), and just (value). So if your value (angle) = pi/3, then your reference angles are (pi + pi/3 = 4pi/3), (pi - pi/3 = 2pi/3), (2pi - pi/3 = 5pi/3), and just (pi/3).
Here you have sin(7pi/8) which is the reference angle when you use pi/8 for your value, plugged into (pi - value).
Your reference angles are pi/8, 7pi/8, 9pi/8, and 15pi/8. The only one that has the same SIGN is pi/8. So you want sin(pi/8).
The other 2 reference angles (9pi/8 and 15pi/8) give you the same MAGNITUDE but the opposite sign.