As promised the link to a Geogebra Widget for this Homework Example is https://www.geogebra.org/m/vyXcfAKS
Also, if you haven’t viewed the Carnot Engine video, it covers the basic Thermodynamics which could teach you how to do this homework problem. It is located here: https://www.youtube.com/watch?v=OUyh5AQ8acA
This video goes through the steps for finding the STATE VARIABLES associated with the Carnot Engine. It does not cover anything about work. Its benefit is in learning to use the adiabatic equation and using it with the isothermal equation.