How many diagonals does each of the following have? (a) A convex quadrilateral

How many diagonals does each of the following have?
image

image