Solutions by Pete Sergeant.