8 is to 64 as 2 is to x solve for x

8/64 = 2/x

Cross multiply and solve for x.

8x = 128

x = 16