Use a sheet of fine sandpaper to rough up the edge of the Plexiglas that will be glued to the metal; this helps the adhesive form a bond with the Plexiglas.
Sand the metal to remove any surface rust or other oxidation. Wipe the Plexiglas and the metal with a damp cloth and then dry it with a clean lint-free cloth.
Squeeze equal amounts of epoxy from both tubes onto a paper plate or other disposable surface. Mix it thoroughly with a stick or coffee-stirrer.
Spread a small amount of epoxy on both the metal and the Plexiglas. Allow the epoxy time to become tacky, if that step is specified in the instructions for the specific adhesive you're using.
Press the Plexiglas and metal pieces together. Secure them in place with adjustable clamps to prevent them from moving until after the epoxy is fully cured, which may take up to 24 hours, depending on the brand.
Remove the clamps from the glued area and continue with your project.