Two trains of length 500m and 1000m moving in opposite direction with same speed crosses each other in 10sec, find their speed :