"...which may both serve for either" — meaning that the Prologue may serve for the Epilogue and the Epilogue for the Prologue.