Its a bit long to describe here but the following link will show you how:-
www.mathopenref.com/printdividesegment.html
The ratio of the robot's height to its arm length is 24 to 12 or 2 to 1. So if its height is 6 meters, then its arm length is 3 meters.