How do i close a view window that's not the same size as the ones next to it?
There are two options.

The most direct option is to expend the 3D Viewport over the timline, so that the 3D Viewport is the same size as the Outliner. Then expand the 3D Viewport over the Outliner. Then split the 3D Viewport, and make the timeline again.

The other option is to split the Outliner horizontally. Then line that border up with the border between the 3D Viewport and the Timeline, then expand the 3D Viewport over the top Outliner pane, and expand the Timeline over the bottom Outliner pane.

For more detail on how to expand these panes, check out How to close view windows?

ALTERNATIVELY, if you're wanting to make the 3D Viewport bigger, just hover your mouse over it and press shiftspace. Then shiftspace again to return it to its original size. This lets you maximize your 3D Viewport space without losing the all-important Properties panel. I'd highly recommend changing that Outliner into a Properties panel... you'll be using it ALL the time, and then use the shiftspace trick to alternate between full-screen and regular layout. In fact, shiftspace will work with any pane all the time.