What happens to oblique ray when it enters the prism?

When an oblique ray of light suffers two refractions on passing through a prism and hence deviates through a certain angle from its original path as shown in the picture below:


2