Relating part length to assembly dimension

Hello, I am creating a stiffener angle between two bracketsof a rack-mounted chassis and would like to make the angle length afunction of the distance between the brackets minus some clearance.I've looked at Equations but am not sure how to implement onewithin an assembly to tie into a part dimension. Thanks for thehelp.SolidworksAssemblies