Given
In △APC,
AC = 5
PC = 3
By Pythagoras theorem,
AP2 + PC2 = AC2
AP2 + 32 = 52
AP2 + 9 = 25
AP2 = 25 − 9
AP2 = 16
AP = √16
AP = 4
In △APB,
AP = 4
BP = 4√3
To find AB,
By Pythagoras theorem,
AP2 + BP2 = AB2
AB2 = 42 + (4√3)2
AB2 = 16 + 48
AB2 = 64
AB = √64
AB = 8
Therefore, the length of ¯¯¯¯¯¯¯¯AB is ′8′.