A farmer is building a rectangular pen using [math]100[/math] feet of electric fencing and the side of a barn. In addition to fencing, there will be a [math]4[/math]-foot gate also requiring the electric fencing on either side of the pen. The farmer wants to maximize the area of the pen. How long should he make each side of the fence in order to create the maximum area?