Given set = {1,2,3,4,5}
To write the set builder form of the set, we have to figure out the relations between the elements of the given set. We can see that the set contains the natural numbers till 5. Hence, the set-builder notation will be :
S=\left\{x:x\in N\:and\:x\leq5\right\}