Solutions to P10050 and P11340.