To solve this problem it is necessary to apply the concepts related to Work, Kinetic energy in springs and the conservation of Energy.
By definition work in a body is defined by
![W = F*d](https://img.qammunity.org/2020/formulas/physics/college/50gbte0p4tsfvnikyw65s19sgeqmmp5xd8.png)
Where,
F = Force
d = Distance
On the other hand we have that
![E = (1)/(2)kx^2](https://img.qammunity.org/2020/formulas/physics/college/1v8f86zlrc4elht4ulktvsrza6t6266khs.png)
Where,
k = Spring constant
x = Displacement
Since it is an inclined plane, we can intuit that the component of the distance that allows the calculation of the work is the opposite of the angle (vertical), so
![W = Fdsin\theta](https://img.qammunity.org/2020/formulas/physics/college/72wji96xtc5h2nbklymizvba7krn6yyu43.png)
![W = mg d sin\theta](https://img.qammunity.org/2020/formulas/physics/college/p7kshvot211f3zhr11rdt77daugmdi0ei7.png)
![W = (11.8)(9.8)(3.05)sin35.6](https://img.qammunity.org/2020/formulas/physics/college/4ky6v6xmk7kqtmzeui6g2ig9sas1ko9x0p.png)
![W = 205.31J](https://img.qammunity.org/2020/formulas/physics/college/gh6qpaocpcqtin4n9z30t63ypb5zkfven1.png)
From the second equation we can calculate the displacement, then
![E = (1)/(2)kx^2](https://img.qammunity.org/2020/formulas/physics/college/1v8f86zlrc4elht4ulktvsrza6t6266khs.png)
![205.31 = (1)/(2) 3.11*10^4 (x)^2](https://img.qammunity.org/2020/formulas/physics/college/voemek6af3e0v92kpcn50j6txjsczwmyuk.png)
![x = \sqrt{(2*205.31)/(3.11*10^4)}](https://img.qammunity.org/2020/formulas/physics/college/nv7c4jctwlg62juzm5g6dkcuf23kekk7um.png)
![x = 0.1149m = 11.49cm](https://img.qammunity.org/2020/formulas/physics/college/li6dlmyeroyfkqfyb09c12risow245xyrj.png)
Therefore the block come to rest when the spring has been compressed around to 11.49cm