Year 4 students learn to calculate missing lengths in rectilinear shapes, starting with identifying equal sides in irregular hexagons and progressing to more complex shapes, using addition and subtraction to find perimeters.