The tension in the ropes depends on the angle of the ropes with the vertical, but in any case, the sum of all forces must be zero. If the force on the swing is 150N downwards, then the two ropes must pull upwards with the same force. Each rope has to pull upwards with 75 N. All horizontal forces must cancel. The tension in the ropes consists of the sum of the vertical and horizontal forces.