Consider 3 lines as follows,
L1:5x−y+4=0
L2:3x−y+5=0
L3:x+y+8=0
If these lines enclose a triangle ABC and sum of the squares of the tangent to the interior angle can be expressed in the form pq where p and q are relatively prime numbers, then the value of p+q is