How to fit the bounding box of an object with Geo Nodes

please help me, how do i come about to fit the red square into the blue square based on the blue square bounding box procedurally? (with Geo Nodes

nvm found it just use the min max value of bouding box and combine it then connect it with transform node scale socket