QUESTION:

In the figure provided, a 2.83 kg textbook is connected by a string to a 0.970 kg cup. The textbook is pushed up a slope of 34.7° with an initial speed of 2.81 m/s. If the coefficients of friction are uk = 0.370 and Îus = 0.760 with the surface, how far will the textbook slide up the slope before stopping? Assume the rope and pulley are massless.

Figure:
a plane inclined at 37.4 deg. Textbook is being pulled up the plane and cup is attached being pulled up respectively.

I truly have no idea how to go about this. Any help would be appreciated.