The image of an object placed 30cm from a diverging lens is formed 10cm in front of the lens.

Calculate the focal length of the lens.​