<-- Enter a:b
<-- Enter b:c
  

The following practice problem has been generated for you:
Given a:b = 1:5 and b:c = 30:47, Calculate a:c