Using Bresenham’s algorithm, generate the coordinates of the pixels that lie on a line segment having the endpoints (2, 3) and (5, 8). Case: When slope (m) > 1 Now let’s solve the same numerical using BLA Algorithm. S-1: x1=2; y1=3; x2=5; y2=8. S-2: dy=y2-y1 8-3= 5 and dx =…