Preheat the oven to 180 º C.
Remove the pie dough from the fridge. Sift some flour over a table and a rolling pin. Split the dough in half. Pick one half, roll it, and stretch it until you have a circle of about 24 cm in diameter.
Place this circle in a pie dish of about 22 cm in diameter, ensuring it covers its entire surface and sides. Trim the edges.
Next spread the apple filling on top of the pie crust. Make sure to distribute it evenly so that is about the height across the pie's surface.
Spread the remaining dough with the rolling pin, just like you did previously.
With a sharp knife, cut rectangular trips about 2 cm wide. Carefully lay them over the pear filling and attach them to the edges of the the dough, alternating to make the lattice pattern. (To learn how to do a lattice pattern, please check this recipe's notes)
Beat one egg in a bowl, just to break up the yolk. Then, lightly brush the pie's top with the eggwash. Sprinkle the surface with the chopped almonds and white sugar.
Bake for about 40 to 50 minutes or until the pie crust is a nice golden color and its filling is cooked. Let it cool down a little bit.