Help on optimization

Would you mind quoting your code to make it more readable?