Two men A and B started walking towards each other’s starting point simultaneously from two points X and Y which are 12 km apart. They meet after 1 hr. After meeting A increased his speed by 6kmph. B reduced his speed by 6 kmph. They arrived at their destinations simultaneously. Find the initial speed of A?