Given,
AB=7,BC=3.
⇒c=7,a=3.
Apply cosine rule in the given equation cosA+2cosB+cosC=2, we get
⇒(2bcb2+c2−a2)+2(2acc2+a2−b2)+(2aba2+b2−c2)=2
⇒(14bb2+49−9)+(2149+9−b2)+(6b9+b2−49)=2
⇒(14bb2+40)+(2158−b2)+(6bb2−40)=2
⇒b3−5b2−16b+80=0
⇒(b−4)(b+4)(b−5)=0
⇒b=−4,4,5.
But b=−4.
Also, if b=4 triangle cannot be constructed.
That means b=5.
⇒cosA−cosC=(2bcb2+c2−a2)−(2aba2+b2−c2)
⇒cosA−cosC=(2(5×7)52+72−32)−(2(3×5)32+52−72)
⇒cosA−cosC=(7065)−(30−15)=210195+105=210300
⇒cosA−cosC=710