Script Shell Parameter

Hi

I have two shell script, the second script takes as a parameter the output variable of the first script, please how to retrieve the variable from the first script to pass as a parameter to the second script?

Script1.sh
i=0
i=$(($i + 1))
Script2.sh
echo $1

Thank you