Solution to prep6