If y and x have a proportional relationship, we can write this relationship as:
y = kx
where k is the constant of proportionality. To find the value of k, we can use the given information that y = 5 when x = 4:
5 = k(4)
Solving for k, we get:
k = 5/4
Now that we know the value of k, we can use it to find the value of x when y = 8:
8 = (5/4)x
Solving for x, we get:
x = (8*4)/5
x = 6.4
Therefore, the value of x when y = 8 is 6.4.