Recognizing that the dotted line is sin(x) and solid line is cos(x), it's clear to see that the sin(x) has a larger amplitude than cos(x). So, we get a1 > a2.
Only B and E satisfies the above. But E is clearly incorrect since amplitude cannot be less than 0.
Therefore, B would be the correct choice.