Let’s take an example

Given a line
l
with point P marked on it

Put ruler on the line so that line is exactly above the ruler
3. Place setsquare on top of the scale

Move set square so that its edge is at the point P

Draw a line along the edge of the set square, keeping setsquare firm
So, PQ is the line perpendicular to l