Squaring and adding the two equations gives 2+2(cosacosb+sinasinb)=1+41, so cos(a−b)=−83.
By the sum-to-product formulas, sina+sinb=2sin2a+bcos2a−b and cosa+cosb=2cos2a+bcos2a−b. The second sum is nonzero, so we may divide: tan2a+b=1/21=2. Hence cos(a+b)=1+tan22a+b1−tan22a+b=1+41−4=−53. Now cosacosb=21[cos(a−b)+cos(a+b)]=−8039,sinasinb=21[cos(a−b)−cos(a+b)]=809. (In particular cosacosb=0, so the tangents are indeed defined.) Therefore tanatanb=−39/809/80=−133. (The choices −53, −83 and 2 are cos(a+b), cos(a−b) and tan2a+b; 133 is a sign slip.)