Answer:
I didn't know the answer myself so instead I did some research for you :)
Step-by-step explanation:
It looks like it was about a 2 step process of reforming Sardinias economy and then negotiating secret deals with Napoleon III to aid in the war with Austria.
Let me know if this isn't enough research