Tierra, Nico, and Alex had $865 altogether. Tierra spent 2/5 of her money. Nico spent $40,and Alex spent twice as much as Tierra. If the three had the same amount of money left, how much money did alex have in the begging?

$125