Joe has 60mintues to spend at the athletic club where he jogs,play basketball,and ride a bike.jogging uses 13 calories per minute ,basketball and bike use 7. He jogs as long as he rides the bike. How log should he participate i each of these activities I order to use 640 calories?