solve ActivityPractice1