Any thoughts on the method to calculate this?

Consider a cylinder fitted with a piston which contains saturated Steam at 30°C with 80% quality.

Let this vapor be compressed in a reversible adiabatic process until the pressure is 10 bars in

superheated conditions .Determine the work per kilogram of the steam for this process. Assume the

system is open

We need two parameter at state 2 to calcualte h2. We have pressure P2 second one can be? It is given that the steam is superheated at state 2. So I would use 1 MPa superheated steam table and search for S1 value( or interpolate) and find corresponding h2.