Exact Learning of Weighted Graphs Using Composite Queries