The sun rises up at 7:30 in 25°E, What time will the sun rise up in 15°E?
Your maths is not detailed, but you have the correct answer.

The Earth rotates at 15 degrees per hour (360 degrees/24 hours).

The time required to rotate 10 degrees is 10/15 = 0.666 hours, which is 40 minutes.