\
The graph is a piecewise defined function.
\In left hand side of the graph, a straight line exists from
.
The end points of the straight line are
and
.
Using two points form of a line equation is
.
Substitute
and
in the line equation.

The equation of the line is
.
\
In middle part of the graph, it is look like a half circle with radius 2 units in the interval
.
Centre is located at origin.
\The standard form of a circle equation is
.

Write the equation in terms of
.

The graph shows the positive half circle, then the equation of the circle is
.
\
In right hand side of the graph, a straight line exists from
.
The end points of the straight line are
and
.
Using two points form of a line equation is
.
Substitute
and
in the line equation.

The equation of the line is
.
Then the piecewise function is
.
\
.