find the lengths, math homework help

Find the lengths of x, y, and z.

The length of side x is

(Type an integer or a decimal.)

The length of side y is

(Type an integer or a decimal.)


The length of side z is

(Type an integer or a decimal.)

A figure has 4 straight edges, each of which is connected to exactly one other edge at each of its endpoints. In clockwise order, there are a vertical edge of length x, an edge that falls from left to right of length y, an edge that falls from right to left of length 3, and a horizontal edge of length z.
x y z 3

A figure has 4 straight edges, each of which is connected to exactly one other edge at each of its endpoints. In clockwise order, there are a vertical edge of length 7, an edge that falls from left to right of length 8, an edge that falls from right to left of length 4, and a horizontal edge of length 7.
7 7 4 8