You will need to use your formulas for tan(a+b) and tan(a-b) which will require you to figure out the values of tan a and tan b
If cos a =4/5 (adjacent/hypotenuse) then by pythagorean’ theorem opposite is 3 and tan a =3/4
If cos b= 12/13 the tan a =5/13
tan (a+b) = tana +tan b/ 1-tanatanb =
(3/5+ 5/13)/ 1-( 3/5 x 5/13)
(64/65) / 1-15/65
(64/65)/ 50/65= 64/50=32/25
tan(a-b) =tana -tanb/ 1+tanatanb
I will leave the calculation to you