Shouldn't those Yen signs be $game_variables?
And make sure that the end of each line is a syntax that will read for the script to go on to the next line which would be = and -
$game_variables[10] =
Math.hypot(($game_variables[1] -
$game_variables[9].abs)
($game_variables[2] -
$game_variables[8].abs))