<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def render_to_reportlab_canvas(rl_canvas, papersize_tuple, layout):
 """Renders the given layout manager on a page of the given canvas."""

    rl_canvas.setPageSize(papersize_tuple)
    layout.render(
        Rectangle(0, 0, *papersize_tuple),
        dict(output=ReportlabOutput(rl_canvas))
        )