def mergeRotateAroundPointPage(page, page2, rotation, tx, ty):
    translation = [[1, 0, 0], [0, 1, 0], [-tx, -ty, 1]]
rotation = math.radians(rotation)
How to merge two landscape pdf pages using pyPdf