Cant figure out whats wrong with my code

I am getting the wrong ans