one Beer Logging

not totally understanding it Need help