a red and green ball is hanging from a string