500
Team A and Team B have ran the same amount of miles. Cory and Sean run for Team A. Cory ran X miles and Sean ran three times the miles as Ben. Casey and Ben run for Team B. Ben ran Y miles and Casey ran 2 times the miles as Cory. Set up an equation to describe this scenario.
X + 3Y = Y + 2X