These hooks are shaped to support common 4" drainage/vacuum pipe. Cut in nominal 1/2" stock. The two wall pieces fit around the hook to anchor it without glue. the clearance above the pipe is tight, so a long screwdriver bit is helpful.
Cut plan makes 4 supports.