Angles could be expressed in degrees or in radians. The relationship between the two could be easily explained by illustrating a circle. A semi-circle has a total angle of 180°. This is equal to a π radians. So if the angle is π/2, in degrees, that would be 180/2 = 90°.
Then, determining the cosine 90° in a calculator would yield an answer of zero.
now, the sides at the bottom, the straight sides, are plain to see how long each is, you can pretty much count the units off the grid.
so, the only ones you need the distance formula or pythagorean theorem is the slanted ones, there are two, and both are equal, so, just get the length of one, and double it up.
double that up, and both slanted sides are 10, the perimeter is all sides summed up.