One vertex of a triangle is the point (0,6), and one side lies along the x-axis. The area of this triangle is divided into two equal parts by the line y = k. Find k.