An appeals court on Friday handed a teenager a longer prison sentence than he had originally received for creating and distributing sexually exploitative deepfake images of teachers on social media.