You have apparently shared two different problems. In one case you divide
6578 by 34, and in the other you divide 6589 by 25.
I arbitrarily choose to focus on the second:
______________
25 / 6589
25 goes into 65 twice, with a remainder of 15:
______2_____
25 / 6589
50
-------------
158 25 goes into 158 6 times, with a remainder of 8.
Can you now finish this long division?