Enter a general equation in terms of the given variables for the work required to compress this spring from position x1 to x2?