This document demonstrates the Cohen-Sutherland line clipping algorithm on a line segment that intersects the right and top boundaries of a clipping window. It shows the coding of the clipping codes at each endpoint and the adjustments made to the coordinates to clip the line segment within the window. The algorithm iterates, adjusting coordinates and flipping the codes until it determines the line segment is fully inside the window and can be drawn.