solve p013