For the first one, draw the graph of y = sin x and then reflect in the x-axis all parts of the graph lying below the x-axis.

For the second one, draw the graph of y = sin x for x > 0. Now reflect this graph in the y-axis to get the required part of the graph for x < 0. Alternatively, note that |x| = -x for x < 0 and so sin |x| = sin (-x) = - sin x for x < 0.