Congratulate your teacher on proposing an impossible idea.
You cannot have a triangle with the given ratios.
But since your teacher will likely get defensive, just humor him or her and solve for the lengths using a basic equation, ignoring the laws of physics.
Let the smallest side be
once you do,