A certain probability density function is made up of two straight-line segments. The first segment begins at the origin and goes to the point (1,1). The second segment goes from (1,1) to the point (x, 1). Sketch the distribution function, and determine what x has to be in order to be a legitimate density curve.