As the key is just released, the current which is flowing anticlockwise goes on decreasing. Thus, the induced current developed in such a sense the magnetic field due to left coil increases (which is towards right). So, the magnetic field due to the right coil should also towards right and hence the induced current is in anticlockwise, i.e., x to yx direction.