One eighth x = five seventh solution

One eighth x = five seventh solution

X out of eight = five out of seven
X △ 8 = 5 / 7
X = 5 / 7 * 8
X = 40 out of seven