Packages Dependencys

I have one doubt about packages.
I have implement two packages where package1 call a function which is defined in package2.
Is correct the next implementation? I have errors.

BeginPackage[[“Package1”]
myfunction::usage=“”;
Begin[“Private”];
myfunction[x_]:=
Module[{temp},
temp=fun1(x)
End[];
EndPackage[];


BeginPackage[[“Package2”]
fun1::usage=“”;
Begin[“Private”];
fun1 Module[{temp}, temp=2*x:
End[];
EndPackage[];

Thanks,