Given the triangle ACP, similar to the triangle ABC, AC = 4, AP = 2, find the length of AB? (PC connected) a P B C

Given the triangle ACP, similar to the triangle ABC, AC = 4, AP = 2, find the length of AB? (PC connected) a P B C

2:4=4:x x=8